package com.cskaoyan.config.order;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: zhang
 * @Date: 2022/11/23 23:13
 * @Since: jdk1.8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@Component("handelOptionConfig")
@ConfigurationProperties(prefix = "wx.order.config.handleoption")
public class WxOrderHandelOptionConfig {

    private boolean cancel;
    private boolean delete;
    private boolean pay;
    private boolean comment;
    private boolean confirm;
    private boolean refund;
    private boolean rebuy;
    private boolean aftersale;

}
